package Service.impl;

import Dao.Student;
import Dao.impl.StudentDaoImpl;
import Service.StuSum;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

@Service("stuSum")
public class StuSumImpl implements StuSum {
    @Autowired
    @Qualifier("student")
    private Student student;
    @Override
    public void save() {
        student.save();
        System.out.println("StuSumImpl...");
    }
}
